package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.po.Station;
import com.jiawa.train.business.req.StationQueryReq;
import com.jiawa.train.business.req.StationSaveReq;
import com.jiawa.train.business.resp.StationQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

/**
 * <p>
 * 车站 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface IStationService extends IService<Station> {

    void save(StationSaveReq stationSaveReq);

    PageResp<StationQueryResp> queryList(StationQueryReq req);

    void delete(Long id);

    List<StationQueryResp> queryall();
}
